package org.itcast.travel.service;

import org.itcast.travel.pojo.PageBean;
import org.itcast.travel.pojo.Ticket;
import org.itcast.travel.pojo.TicketQueryParam;

import java.util.List;

public interface TicketService {
    void save(Ticket ticket);

    void deleteById(List<Integer> ids);

    Ticket getById(Integer id);

    void update(Ticket ticket);

    PageBean page(TicketQueryParam ticketQueryParam);
}
